import request from '../request.js'
import {
	getLoginUrl,
	certificationURL,
	totalRevenueURL,
	goldIncomeURL,
	pointsexURL
	} 
	from '../urls.js' 
export default {
	////获取用户数据
	getUserData(data){
		return request({
			url:getLoginUrl,
			method:'POST',
			data
		})
	},
	///实名认证
	certification(data){
		return request({
			url:certificationURL,
			method:'POST',
			data
		})
	},
	
	
	////用户基金收益
	////总收益
	totalRevenue(data){
		return request({
			url:totalRevenueURL,
			method:'POST',
			data
		})
	},
	///黄金收益
	goldIncome(data){
		return request({
			url:goldIncomeURL,
			method:'POST',
			data
		})
	},
	
	///积分兑换余额
	pointsexData(data){
		return request({
			url:pointsexURL,
			method:'POST',
			data
		})
	}
}